﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entitys.Inv
{
    /// <summary>
    /// 其他入库单
    /// </summary>
    public class Inv_othwr
    {
        [Key]
        public int Othwr_id { get; set; }
        /// <summary>
        /// 入库类型
        /// </summary>
        public string Othwr_type { get; set; }

        /// <summary>
        /// 入库单号
        /// </summary>
        public string Othwr_code { get; set; }

        /// <summary>
        /// 仓库保管员
        /// </summary>
        public string Othwr_wkeep { get; set; }

        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime? Othwr_time { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Othwr_status { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>
        public string Warehouse_code { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string Warehouse_name { get; set; }

        /// <summary>
        /// 库区编码
        /// </summary>
        public string Zone_code { get; set; }

        /// <summary>
        /// 库区名称
        /// </summary>
        public string Zone_name { get; set; }


        /// <summary>
        /// 创建人
        /// </summary>
        public string Create_by { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Create_time { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string Update_by { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? Update_time { get; set; }

        /// <summary>
        /// 删除标志（0-正常，1-删除）
        /// </summary>
        public char? del_flag { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public string othwr_audit_statua { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string Othwr_audit_by { get; set; }

        /// <summary>
        /// 审核备注
        /// </summary>
        public string othwr_audit_opinion { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? Othwr_audit_time { get; set; }

        //关联单号
        public string othwr_code_Associated { get; set; }

        // 导航属性：明细
        public ICollection<Inv_othwrproddtl> Details { get; set; }
    }
}
